<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="~{fragments/header :: header}"></div>
<h3 th:text="${userModel.title}"></h3>
<p><strong>ID:</strong><span th:text="${userModel.user.id}"></span></p>
<p><strong>Name:</strong><span th:text="${userModel.user.name}"></span></p>
<p><strong>Email:</strong><span th:text="${userModel.user.email}"></span></p>
<a th:href="@{'/users/'+${user.id}}">查看</a>|
<a th:href="@{'/users/modify/'+${user.id}}">修改</a>|
<a th:href="@{'/users/delete/'+${user.id}}">删除</a>
<div th:replace="~{fragments/footer :: footer}"></div>
</body>
</html>